package com.founder.android.db;

import android.database.sqlite.SQLiteDatabase;

public class BaseStoreService {
	
	/**
	 * 数据库
	 */
	protected SQLiteDatabase db;
	
	/**
	 * 初始化方法
	 * @param context
	 */
	public BaseStoreService(SQLiteDatabase db) {
		//SampleDBHelper helper = new SampleDBHelper(context);
		//db = helper.getWritableDatabase();
		this.db = db;
	}
	
	/**
	 * 释放数据库资源
	 */
	public void close() {
		db.close();
	}

}
